package com.pandora.credit.mongo.service;

import com.pandora.credit.dto.response.LoanResponseNextNo;
import com.pandora.credit.mongo.entity.MongoBanner;

import java.util.List;

/**
 * @author developer
 */
public interface MongoBannerService {

    /**
     * queryByTypeStatus
     * @param type type
     * @param status status
     * @return MongoBannerList
     */
    List<MongoBanner> queryByTypeStatus(int type, int status);

    /**
     * doGetBanners
     * @param ua ua
     * @return LoanResponseNextNo
     */
    LoanResponseNextNo doGetBanners(String ua);

    /**
     * doGetBannerWithType
     * @param type type
     * @return Object
     */
    Object doGetBannerWithType(int type);
}
